// Copyright DustedPixels.com 2008. All rights reserved.

package com.dustedpixels.dcel;

/**
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
public interface UnitLoader {
  /**
   * Loads a unit for given name. Throws an exception in case of failure.
   * 
   * @param name
   * @return
   */
  void loadUnit(String name, UnitVisitor visitor);
}
